package com.we.websocket.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

@ApiModel(description="chat_user_link")
@Data
@TableName(value = "chat_user_link")
public class ChatUserLink implements Serializable {
    /**
     * 聊天主表id
     */
    @TableId(value = "link_id", type = IdType.INPUT)
    @ApiModelProperty(value="聊天主表id")
    private String linkId;

    /**
     * 发送者
     */
    @TableField(value = "from_user")
    @ApiModelProperty(value="发送者")
    private String fromUser;

    /**
     * 接收者
     */
    @TableField(value = "to_user")
    @ApiModelProperty(value="接收者")
    private String toUser;

    /**
     * 创建关联时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value="创建关联时间")
    private Date createTime;

    private static final long serialVersionUID = 1L;
}